#ifndef __WATCHPOINT_H__
#define __WATCHPOINT_H__

#include "common.h"

typedef struct watchpoint {
	int NO;
	struct watchpoint *next;

	/* TODO: Add more members if necessary */
	char *expression;
	int old_val;

} WP;

WP *new_wp();
void free_wp(WP *wp);
int set_watchpoint(char *);
bool delete_watchpoint(int);
void list_watchpoints();
void scan_watchpoint(uint32_t);

#endif